<include file="header" />
<body>
<div class="wraper">
	<div class="head clearfix">
		<a href="{BEESCRM::U('/Base/UserCenter/index',array('account_id'=>$accountId))}" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">交易记录</span>
		<a href="{BEESCRM::U('/Base/UserCenter/traderecorddetails',array('account_id'=>$accountId))}" class="pull-right text-right">月账单</a>
	</div>
	<empty name="data">
			<div class="norecord">
				<img src="/assets/base/userCenter/images/notrade.png"/>
				<p>没有交易记录</p>
			</div>
		<else />
			<foreach name="data" item="vo" key="k">

				<div class="title padding tb-mode">
					<p class="tb-cell text-grey">{BEESCRM:$k}<span class="pull-right">总消费：{BEESCRM:$monthTotalFee[$k]}元</span></p>
				</div>

				<foreach name="vo" item="v">
					<a href="#" class="lists">
						<div class="tb-mode">
							<div class="tb-cell">
								<p>{BEESCRM:$v.title}</p>
								<p class="text-grey">{BEESCRM:$v.create_time|date='Y-m-d H:i',###}</p>
							</div>
							<p class="tb-cell text-right <if condition='$v.type eq 2'> text-green </if>">{BEESCRM:$v.payMoney}元</p>
						</div>
					</a>
				</foreach>
			</foreach>

		<div class="text-12 text-center text-green padding"  id="load_more">已是最后一条...</div>
	</empty>



</div>
<script type="text/javascript" src="/assets/base/userCenter/modules/sea.js"></script>
<script type="text/javascript" src="/assets/base/userCenter/modules/jquery-2.1.0.min.js"></script>
<script enter="publicjs/public" id="confnode" async="async" src="/html/pscenter/static/publicjs/config.js"></script>
<script>

</script>
</body>
</html>